package com.jemmyee.pizza.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "pre_excerpt")
public class PreExcerpt implements java.io.Serializable {
	private Integer preId;
	private String u_id;
	private String s_flag;
	private Double s_num;
	private Double s_money;
	private Double a_money;
	private Date s_date;
	private Date s_time;
	private String s_op;
	private String s_spot;
	private String fs;
	private String f_lx;
	private String u_name;
	private String s_tq;
	private String s_from;
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "pre_id", unique = true, nullable = false)
	public Integer getPreId() {
		return preId;
	}

	public void setPreId(Integer preId) {
		this.preId = preId;
	}
	@Column(name = "u_id",length=16)
	public String getU_id() {
		return u_id;
	}

	public void setU_id(String uId) {
		u_id = uId;
	}
	@Column(name = "s_flag",length=16)
	public String getS_flag() {
		return s_flag;
	}

	public void setS_flag(String sFlag) {
		s_flag = sFlag;
	}
	
	@Column(name = "s_num")
	public Double getS_num() {
		return s_num;
	}

	public void setS_num(Double sNum) {
		s_num = sNum;
	}

	@Column(name = "s_money")
	public Double getS_money() {
		return s_money;
	}

	public void setS_money(Double sMoney) {
		s_money = sMoney;
	}
	@Column(name = "a_money")
	public Double getA_money() {
		return a_money;
	}

	public void setA_money(Double aMoney) {
		a_money = aMoney;
	}
	@Column(name = "s_date")
	public Date getS_date() {
		return s_date;
	}

	public void setS_date(Date sDate) {
		s_date = sDate;
	}
	@Column(name = "s_time")
	public Date getS_time() {
		return s_time;
	}

	public void setS_time(Date sTime) {
		s_time = sTime;
	}
	@Column(name = "s_op",length=16)
	public String getS_op() {
		return s_op;
	}

	public void setS_op(String sOp) {
		s_op = sOp;
	}
	@Column(name = "s_spot",length=16)
	public String getS_spot() {
		return s_spot;
	}

	public void setS_spot(String sSpot) {
		s_spot = sSpot;
	}
	@Column(name = "fs",length=16)
	public String getFs() {
		return fs;
	}

	public void setFs(String fs) {
		this.fs = fs;
	}
	@Column(name = "f_lx",length=16)
	public String getF_lx() {
		return f_lx;
	}

	public void setF_lx(String fLx) {
		f_lx = fLx;
	}
	@Column(name = "u_name",length=50)
	public String getU_name() {
		return u_name;
	}

	public void setU_name(String uName) {
		u_name = uName;
	}
	@Column(name = "s_tq")
	public String getS_tq() {
		return s_tq;
	}

	public void setS_tq(String sTq) {
		s_tq = sTq;
	}
	@Column(name = "s_from")
	public String getS_from() {
		return s_from;
	}

	public void setS_from(String sFrom) {
		s_from = sFrom;
	}

}
